using System;
using System.ComponentModel;
using System.Data;
using System.Runtime.Serialization;





namespace DataAccess
{
    /// <summary>
    /// A custom serializable dataset containing ADM_FLUJOS information.
    /// </summary>
    [Serializable()]
    [DesignerCategory("code")]
    public class AdmPerfilesUsuariosData : DataTable
    {
		///
		/// Constants for table and fields mapping
		///
		public const string ADM_PERFILES_USUARIOS_TABLE = "ADM_PERFILES_USUARIOS";
		public const string PER_ID_FIELD = "PER_ID";
		public const string USU_ID_FIELD = "USU_ID";
		public const string USU_NOMBRE_FIELD = "USU_NOMBRE";
		public const string USU_USUARIO_FIELD = "USU_USUARIO";
		public const string USU_TIPO_FIELD = "USU_TIPO";
		public const string USU_ESTADO_FIELD = "USU_ESTADO";
		public const string PER_NOMBRE_FIELD = "PER_NOMBRE";
		public const string VER_ENCRIPTADOS_FIELD = "VER_ENCRIPTADOS";
        
        
        

        public AdmPerfilesUsuariosData()
		{
			this.BuildDataTables();
		}


        protected AdmPerfilesUsuariosData(SerializationInfo info, StreamingContext context)
		{
			//
		}

		/// <summary>
		/// 
		/// </summary>
		private void BuildDataTables()
		{
            Columns.Add(PER_ID_FIELD, typeof(Decimal));
            Columns.Add(USU_ID_FIELD, typeof(Decimal));
            Columns.Add(USU_NOMBRE_FIELD, typeof(String));
            Columns.Add(USU_USUARIO_FIELD, typeof(String));
            Columns.Add(USU_TIPO_FIELD, typeof(String));
            Columns.Add(USU_ESTADO_FIELD, typeof(String));
            Columns.Add(PER_NOMBRE_FIELD, typeof(String));
            Columns.Add(VER_ENCRIPTADOS_FIELD, typeof(byte));			

            this.TableName = ADM_PERFILES_USUARIOS_TABLE;
		}

        /// <summary>
        /// 
        /// </summary>
        /// <param name="row"></param>
        public void Add(DataRow row)
        {
            this.Rows.Add(row);
        }

    }
}

